package com.akk.module.avs.mapper.dao;

import com.akk.module.avs.model.response.AvsPayOrderRecordRes;
import com.akk.module.avs.model.response.AvsPayOrderSummaryRes;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface AvsPayOrderDao {

    List<AvsPayOrderRecordRes> selectByAppIdAndPayerId(@Param("params")Map params);

    AvsPayOrderRecordRes selectById(@Param("orderId")String orderId);

    AvsPayOrderRecordRes queryInfo(@Param("orderId")String orderId);

    Double countPay(@Param("payerId")String payerId);

    List<AvsPayOrderRecordRes> selectByParams(@Param("params")Map params);

    AvsPayOrderSummaryRes summary(@Param("status") Integer status);
}